#pragma once
#include <vector>
#include <string>

// 分割字符串 
inline std::vector<std::string> str_split(const std::string s, char delimiter)
{
    std::vector<std::string> tokens;
    std::string token;
    std::istringstream iss(s);
    while (getline(iss, token, delimiter))
    {
        tokens.push_back(token);
    }
    return tokens;
}